/*
//var count = 0;
function say(n){
	console.log("从前有座山");
	//count++;
//	if ( count === 3){
//		return 3;
//	}
	return say(n-1);
}
console.log(say(5));

function a(m){
if(m ===1){return 1}
	return a(m-1)*a(m-1)
}
	console.log(a(9))

*/
function fibonacci (n) {
  if ( n <= 2 ) {return 1};
  return fibonacci(n - 1) + fibonacci(n - 2);
}
console.log(fibonacci (5))
